package com.iye.puretennis.domain;

/**
 * Created with IntelliJ IDEA.
 * User: jing wu
 * Date: 2014/12/23
 * Time: 9:55
 */
public class Location {

    String city;

    String latitude;

    String longitude;

    String lastUpdate;

    public Location(String city, String latitude, String longitude, String lastUpdate) {
        this.city = city;
        this.latitude = latitude;
        this.longitude = longitude;
        this.lastUpdate = lastUpdate;
    }

    public String getCity() {
        return city;
    }

    public String getLatitude() {
        return latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public String getLastUpdate() {
        return lastUpdate;
    }

    public String getAddress(){

        return city+"（"+latitude+"，"+longitude+"）\n最后更新时间："+ lastUpdate;
    }
}
